//
//  BannerScrollView.h
//  翘脚老板
//
//  Created by 王涛 on 15/12/21.
//  Copyright © 2015年 bodecn. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BannerClickBlock)(NSInteger tag);
@interface BannerScrollViewTime : UIView<UIScrollViewDelegate>
{
    NSArray *bannerArray;
    NSMutableArray *imageArr;
    NSInteger pageNum;
    NSTimer *timer;
    UIPageControl *pageControl;
   
    NSString *_imageKey;//后台返回数据中的key
}

@property (strong ,nonatomic)BannerClickBlock bannerClickBlock;

@property (strong ,nonatomic) UIScrollView *scroll;

-(id)initWithFrame:(CGRect)frame with:(NSString *)imageKey;
-(void)setPicData:(NSArray *)arr;

@end
